Fig. 1: Faster download site.
Fig. 2: Assurez que
Devel soit à Install
Fig. 3 Obtenir une
distribution d'Ubuntu Linux. Vous pouvez utiliser sans installer OU
installer.
Fig.4 installer flex
à partir du terminal dans Ubuntu Linux
Working with flex:
- Console program.
- Reads instrutions from the console.
- Using pipes, reads from and writes to files.
- Uses the gcc C/C++ compiler
- Version used here:
- Different versions under Windows, Solaris, Unix and
Linux.
- Slight differences between them (versions, age,
underlying compiler, etc.)
- We
will use the linux version.
- At the university.:
- Find X-32 in programs menu.
- Do a login as you do for SITE
- Chose a Linux desktop.
- In Windows:
- Cygwin has the same version as the SITE Linux servers.
- Not fully tested for assignments
=> yes, I had problems last year. - Important:
- the installer asks for a download site (Fig.1):
USherbrooke.ca is faster than others. - Click on Devel (Fig. 2) to get Install (might take a while).
- This is also required if you want to use Win32 - gcc as a compiler for TAU.
- Through SSH / Putty
- This can be done from home or at SITE in Windows
- Get access to Linux servers through terminal clients.
- SSH
- recommended by the university
- integrates console and file transfer GUI
- Putty
(my favourite) - also available as
PortableApps.com
- console only
- WinSCP
(my favourite) - also available as
PortableApps.com
- GUI for file transfer
- console simulator - less powerful than Putty
- Cofigurable for putty integration:
[menu]>Options>Preferences
- Accessing Linux servers at SITE:
- In SSH or Putty:
- your SITE user name
- your SITE password
- default parameters
- first, access SITE with the hostname
ugate.site.uottawa.ca
- from there, access the Linux server
linux.site.uottawa.ca
=> with the command line
ssh
-l siteUserName linux.site.uottawa.ca
- again, your SITE password.
- In Linux:
- Download and burn a distribution of Linux Live
- "Live" means that you can use the OS by booting from
the CD.
- This is not installed => you don't mess-up your
system.
- The university uses Fedora Core
Project
- my favourite (Fig.1): one of the versions at
http://www.ubuntu.com/products/whatisubuntu
- gcc is included
- flex must be installed (Fig.2), but it's easy and takes
20 seconds.
- your computer must be internet-ready
- Easiest if you have an ethernet wire-connection.
- Wireless should works like a charm as long as no
fancy VPN is involved.
- Type the command line (assuming Ubuntu or other Debian):
sudo
apt-get install flex